\section{pend --- Close all plotting windows }
\label{fn:pend}
\index{pend()}
\index{close all plot windows}
\index{plot windows!closing all}
\index{windows!closing all plotting}
\index{ending plot session}
\begin{rail}
PEnd : 'pend' '('  ')' ;
\end{rail}

\verb+pend+ is used to end the plotting session.  This is useful
when you have many plot windows open and do not wish to use
\verb+pclose+ on each one induvidually.  

Note: You can begin plotting again by using \verb+pstart+.

$\Longrightarrow$ This is not an \RLaB\ built-in function.  This function
is normally loaded on start-up from the \verb+plot.r+ file in the
standard \verb+rlib+ directory. Use of the \verb+-r+ option, incorrectly 
setting the \verb+RLAB_LIB_DIR+ environmental variable, or modifying
\verb+plot.r+ may make this function unavailable.


\paragraph{Example}
\index{example of pend()}
\index{pend()!example}
\begin{verbatim}
> pend()
        0
> pend();
\end{verbatim}

See also: Page~\pageref{fn:close} \verb+pclose()+.

\newpage






